package com.encryption.rsa;

public class Base64 {

    public static String encodeBase64String(byte[] bytes) {
        return java.util.Base64.getEncoder().encodeToString(bytes);
    }

    public static byte[] decodeBase64(String str) {
        return java.util.Base64.getDecoder().decode(str);
    }


}
